<ion-view view-title="{{'今日'}}机型销售" class="data-table" show-tabs>

		<div class="bar bar-subheader bar-dark row row-center data-head">
			<div class="col">销售额</div>
			<div class="col">毛利</div>
			<div class="col col-half">毛利率</div>
		</div>
	<ion-content class="wrap-light has-subheader data-body">

			<ul class="list">
				<li ng-repeat="item in typeList | orderBy : '-sales'" class="item" href="#/brand-detail-{{item.id}}">
					<header>
						<span class="item-index index-icon" ng-class="{'icon ion-ribbon-b': $index < 3,'assertive-bg':$index==0,'royal-bg':$index==1,'energized-bg':$index==2,'dark2-bg':$index>=3}">TOP{{$index + 1}}</span>
						<span ng-class="{'assertive':$index==0,'royal':$index==1,'energized':$index==2}"><b>{{ item.name }}</b></span>
						<span class="pull-right dark2 padding-right">{{ item.count }} 单</span>
					</header>
					<div class="row row-center">
						<div class="col">{{ item.sales | currency:'￥' }}</div>
						<div class="col">{{ item.margin | currency:'￥' }}</div>
						<div class="col col-half">{{ ((item.margin / item.sales) *100 |number:'2')+'%'}}</div>
					</div>
				</li>
			</ul>
  		<div ng-include="'templates/common/model/filters.html'"></div>
	</ion-content>
</ion-view>
